<template>
  <i :class="`${type}`" :style="styles" />
</template>

<script>
export default {
  name: "Icons",
  props: {
    type: {
      type: String,
      required: true
    },
    color: {
      type: String
    },
    size: {
      type: Number
    }
  },
  computed: {
    styles() {
      return {
        fontSize: `${this.size}px`,
        color: this.color
      };
    }
  }
};
</script>
